﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo04
{
    class Student
    {
        //行为
        public int age;
        public string stuName;

        //属性
        public string Stuname
        {
            set;
            get;
        }
        public int Age
        {
            set;
            get;
        }
        public void  Inshow ()
        {
            Console.WriteLine("我是{0} ，我的年龄{1}",stuName ,age );
        }



    }
}

